package demo2;

import demo1.Father;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2024-05-27
 * Time: 18:41
 */
public class Son extends Father1 {

    public Son(int a, int b) {
        super(a, b);
        System.out.println("子类，构造方法");
    }
    {
        System.out.println("子类，实例方法");
    }
    static {
        System.out.println("子类，静态方法");
    }
}
